| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 1× | import initialize from '../functions/initialize'
import reveal from './reveal'
import { each } from '../../utils/generic'
/**
* Re-runs the reveal method for each record stored in history,
* for capturing new content asynchronously loaded into the DOM.
*/
export default function sync () {
var this$1 = this;
each(this.store.history, function (record) {
reveal.call(this$1, record.target, record.options, record.interval, true)
})
initialize.call(this)
}
|